package com.ruoyi.common.deep;

import java.io.IOException;

public class Chat {

    public static void main(String[] args) {
        try {
            String response = new DeepseekClient().getResponse("sk-d0c2497e5b434058ad84358ecaf0be1a", "你好");
            System.out.println(response);
        } catch (IOException e) {
            System.out.println("出错了：" + e.getMessage());
        }

//        try {
//            String response = new DeepseekClient().getResponse("sk-d0c2497e5b434058ad84358ecaf0be1a", "我使用springboot2 + vue2, 应该怎样调用你的接口");
//            System.out.println(response);
//        } catch (IOException e) {
//            System.out.println("出错了：" + e.getMessage());
//        }


    }

}
